package com.technology.education.widget

import android.view.View
import com.technology.education.R
import com.technology.education.ext.loadImage
import com.zhpan.bannerview.BaseViewHolder

/**
 *@author:create by BZY
 *Date: 2020/6/30 14
 */
class PreviewPhotosViewHolder(itemView: View) : BaseViewHolder<String>(itemView) {
    override fun bindData(data: String?, position: Int, pageSize: Int) {
        loadImage(data!!, findView(R.id.image))
    }
}